/*
 * Main.cpp
 *
 *  Created on: May 16, 2010
 *      Author: stud
 */


#include <iostream>
#include "SleepTimer.h"
#include <stdio.h>

void sayHello();

int main()
{


	SleepTimer * myTimer = new SleepTimer();

	while(1)
	{
		myTimer->sleep(500);
		sayHello();
	}


	return 0;

}

void sayHello()
{
	printf("Hi all");
	fflush(stdout);
}
